﻿<script type="text/javascript">
    $(document).ready(function () {
        $('button').button();
    });

    $(function () {
        $('button').click(function (e) {
            var viewID = $(this).attr("id");

            window.location = '/' + viewID;
        });
    });

</script>

@{
    ViewBag.Title = "Index";
}
Admin Home
<br /><br />
<fieldset>
    <legend>Schedules & Scoring</legend>
    <br />
    <div id="AdminLinkSection">
        <table>
            <tr>
                <td><button id="Scorecard">Scorecards</button></td>
                <td>Description goes here</td>
            </tr>
            <tr>
                <td><button id="Score">Scores</button></td>
                <td>Description goes here</td>
            </tr>
            <tr>
                <td><button id="Handicap">Handicaps</button></td>
                <td>Description goes here</td>
            </tr>
        </table>
    </div>
</fieldset>

<fieldset>
    <legend>League Setup & Maint</legend>
    <br />
    <div id="AdminSetupLinkSection">
        <table>
            <tr>
                <td><button id="Player">Players</button></td>
                <td>Add new players, edit existing players or delete players.</td>
            </tr>
            <tr>
                <td><button id="Team">Teams</button></td>
                <td>Add, edit or delete teams.</td>
            </tr>
            <tr>
                <td><button id="Schedule">Schedules</button></td>
                <td>Create new seasons, add/edit/delete rounds for the season and add/edit delete matches for the rounds. Batch create all of the rounds and matches for a season.</td>
            </tr>
            <tr>
                <td><button id="Course">Courses</button></td>
                <td>Add, edit or delete courses.  Add, edit or delete the score card for the course.</td>
            </tr>
            <tr>
                <td><button id="ScoringMethod">Scoring Methods</button></td>
                <td>Add, edit or delete courses.  Add, edit or delete the score card for the course.</td>
            </tr>
            <tr>
                <td><button id="Users">Users</button></td>
                <td>Add, edit or delete courses.  Add, edit or delete the score card for the course.</td>
            </tr>
        </table>
    </div>
</fieldset>
